package com.dupf.upms.common.constant;

import com.dupf.common.base.BaseConstants;
import com.dupf.common.util.PropertyManager;

/**
 * upms系统常量类
 * Created by dupf on 2018/3/1.
 */
public class UpmsConstant extends BaseConstants {

    public static final String UPMS_TYPE = "dupf.upms.type";

    public static final int SMS_VERIFY_CODE_EXPIRE = 1;//PropertyManager.getInt("sms.verify.code.expire");
    public static final String SMS_REDIS_PREFIX = "1";//PropertyManager.getString("sms.redis.prefix");

    public static final String SMS_APP_LSM_URL = "1";//PropertyManager.getString("sms.app.lsm.url");
    public static final String SMS_APP_LSM_BATCH_URL = "1";//PropertyManager.getString("sms.app.lsm.batch.url");
    public static final String SMS_APP_LSM_ACCOUNT = "1";//PropertyManager.getString("sms.app.lsm.account");
    public static final String SMS_APP_LSM_PASSWORD = "1";//PropertyManager.getString("sms.app.lsm.password");
    public static final String SMS_APP_LSM_CONTENT = "1";//PropertyManager.getString("sms.app.lsm.content");
    public static final String SMS_APP_LSM_USERREGNOTIFY = "1";//PropertyManager.getString("sms.app.lsm.userregnotify");

    public static final int USER_INFO_REDIS_EXPIRE = PropertyManager.getInt("user.info.redis.expire");
    public static final String USER_INFO_REDIS_PREFIX = PropertyManager.getString("user.info.redis.prefix");

    public static final int USER_OPERABLE_LIST_REDIS_EXPIRE = PropertyManager.getInt("user.operable.list.redis.expire");
    public static final String USER_OPERABLE_LIST_REDIS_PREFIX = PropertyManager.getString("user.operable.list.redis.prefix");

    public static final int USER_OPERABLE_LIST_JSON_REDIS_EXPIRE = PropertyManager.getInt("user.operable.list.json.redis.expire");
    public static final String USER_OPERABLE_LIST_JSON_REDIS_PREFIX = PropertyManager.getString("user.operable.list.json.redis.prefix");

    public static final int ORG_USER_LIST_REDIS_EXPIRE = PropertyManager.getInt("org.user.list.redis.expire");
    public static final String ORG_USER_LIST_REDIS_PREFIX = PropertyManager.getString("org.user.list.redis.prefix");

    public static final String QINIU_ACCESS_KEY = PropertyManager.getString("upload.qiniu.accesskey");
    public static final String QINIU_SECRET_KEY = PropertyManager.getString("upload.qiniu.secretkey");
    public static final Long QINIU_TOKEN_EXPIRES = PropertyManager.getLong("upload.qiniu.token.expires");

    public static final String QINIU_BUCKET_FILE = PropertyManager.getString("upload.qiniu.bucket.file");
    public static final String QINIU_BUCKET_PICTURE = PropertyManager.getString("upload.qiniu.bucket.picture");
    public static final String QINIU_BUCKET_AUDIO = PropertyManager.getString("upload.qiniu.bucket.audio");
    public static final String QINIU_BUCKET_VIDEO = PropertyManager.getString("upload.qiniu.bucket.video");

    public static final String QINIU_BUCKET_PICTURE_DOMAIN = PropertyManager
            .getString("upload.qiniu.bucket.picture.domain");
    public static final String QINIU_BUCKET_AUDIO_DOMAIN = PropertyManager
            .getString("upload.qiniu.bucket.audio.domain");
    public static final String QINIU_BUCKET_VIDEO_DOMAIN = PropertyManager
            .getString("upload.qiniu.bucket.video.domain");
    public static final String QINIU_BUCKET_NORMAL_DOMAIN = PropertyManager
            .getString("upload.qiniu.bucket.normal.domain");

    public static final String UPLOAD_REDIS_PREFIX = PropertyManager.getString("upload.redis.prefix");
    public static final int UPLOAD_REDIS_EXPIRE = PropertyManager.getInt("upload.redis.expire");

}
